/**
 *	@file	telseq_cycle.c
 *	@brief	自転車屋　会話データ抽選＆再生
 *	@author	Miyuki Iwasawa
 *	@date	09.02.06
 */

#include "common.h"
#include "system/procsys.h"
#include "system/arc_util.h"
#include "system/arc_tool.h"
#include "system/bmp_list.h"
#include "system/bmp_menu.h"
#include "system/pm_str.h"
#include "system/msgdata.h"
#include "system/fontproc.h"
#include "system/snd_tool.h"
#include "system/buflen.h"
#include "system/pm_rtc.h"
#include "gflib/touchpanel.h"
#include "field/eventflag.h"
#include "field/evwkdef.h"
#include "fielddata/script/saveflag.h"
#include "itemtool/itemsym.h"
#include "msgdata/msg.naix"
#include "msgdata/msg_pg_tel.h"

#include "../pm_tel.h"
#include "tel/pmtel_def.h"
#include "tel/pmtel_datman.h"
#include "tel/pmtel_dat_def.h"
#include "../pmtel_seq.h"
#include "telseq_play.h"

/**
 *	@brief	電話　自転車屋の会話抽選
 */
u16 PMTelPlayL_Cycle(PMTEL_DATA_MAN* wk,PMTEL_TALK_WORK* twk)
{
	twk->seq_code = TEL_SEQ_SIMPLE;
	//ノーマル発信

	//同一マップにいるか？
	if(twk->pbk->map_id == wk->zone_id)	{
		return TEL_TK_CYCLE_NE;
	}
	return TEL_TK_CYCLE_TRANSFER;
}
